<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!--核心插件样式-->
    <link rel="stylesheet" href="./assets/css/notiflix.css">

    <!-- jquery  -->
    <script src="./assets/js/jquery.min.js"></script>

    <!-- axios  -->
    <script src="./assets/js/axios.min.js"></script>

    <!-- 提示插件 -->
    <script src="./assets/js/notiflix-1.3.0.min.js"></script>

    <!-- 请求接口封装文件 -->
    <script src="./util/request.js"></script>

    <style>
        .chat {
            width: 360px;
            height: 100%;
            float: left;
            background-color: #f5f5f5;
            position: relative;
            padding: 56px 0 52px;
            box-sizing: border-box;
            background-image: url('./assets/images/chat_bg.jpg');
            background-size: cover;
        }
    </style>
</head>

<body>
    <div class="chat">
        <div class="title">人工智能聊天DEMO</div>
        <ul class="text" id="ui_msg_box">
            <li class="t1">
                <img src="./assets/images/head1.jpg">
                <div class="txt">您好！我是菲菲，非常欢迎您的到来，有什么想和我聊聊的吗？</div>
            </li>
            <li class="t2"><img src="./template/head2.jpg">
                <div class="txt">磊</div>
            </li>
            <li class="t2"><img src="./template/head2.jpg">
                <div class="txt">鼎折覆餗</div>
            </li>
            <li class="t1"><img src="./template/head1.jpg">
                <div class="txt">把话说详细点，发个“磊”能说明什么</div>
            </li>
            <li class="t1"><img src="./template/head1.jpg">
                <div class="txt">表酱紫讲话好不，伦家听不习惯</div>
            </li>
        </ul>
        <div class="cont">
            <input type="text" placeholder="在这里输入文字" class="inp" id="ui_inp_msg">
            <a href="javascript:" class="send" onclick="sendmsg()">发送</a>
        </div>
    </div>
</body>

</html>